|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bsvrz.dav.daf.communication.dataRepresentation.datavalue.DataValue
public abstract class DataValue
Diese Klasse stellt eine Basisklasse für das Package Datavalue dar. Es werden Konstanten festgelegt und gemeinsamme Methoden deklariert.
| Field Summary | |
|---|---|
protected byte |
_type
Der Typ dieses Datensatzes |
static byte |
ARRAY_OFFSET
Konstante repräsentiert den Array-Offset |
static byte |
ATTRIBUTE_LIST_ARRAY_TYPE
Konstante repräsentiert den DatenTyp Arrayliste |
static byte |
ATTRIBUTE_LIST_TYPE
Konstante repräsentiert den DatenTyp Liste |
static byte |
BIT_ARRAY_TYPE
Konstante repräsentiert den DatenTyp bit Array |
static byte |
BYTE_ARRAY_TYPE
Konstante repräsentiert den DatenTyp byte Array |
static byte |
BYTE_TYPE
Konstante repräsentiert den DatenTyp byte |
static byte |
DOUBLE_ARRAY_TYPE
Konstante repräsentiert den DatenTyp double Array |
static byte |
DOUBLE_TYPE
Konstante repräsentiert den DatenTyp double |
static byte |
FLOAT_ARRAY_TYPE
Konstante repräsentiert den DatenTyp float Array |
static byte |
FLOAT_TYPE
Konstante repräsentiert den DatenTyp float |
static byte |
INTEGER_ARRAY_TYPE
Konstante repräsentiert den DatenTyp int Array |
static byte |
INTEGER_TYPE
Konstante repräsentiert den DatenTyp int |
static byte |
LONG_ARRAY_TYPE
Konstante repräsentiert den DatenTyp long Array |
static byte |
LONG_TYPE
Konstante repräsentiert den DatenTyp long |
static byte |
SHORT_ARRAY_TYPE
Konstante repräsentiert den DatenTyp short Array |
static byte |
SHORT_TYPE
Konstante repräsentiert den DatenTyp short |
static byte |
STRING_ARRAY_TYPE
Konstante repräsentiert den DatenTyp String Array |
static byte |
STRING_TYPE
Konstante repräsentiert den DatenTyp String |
| Constructor Summary | |
|---|---|
DataValue()
|
|
| Method Summary | |
|---|---|
abstract DataValue |
cloneObject()
Diese Methode erzeugt eine Kopie dieses Datensatzes |
static DataValue |
getObject(byte _type)
Gibt ein leeres Objekt vom gegebenen Typ zurück |
byte |
getType()
Gibt den Typ dieses Datensatzes zurück |
abstract Object |
getValue()
gibt den Wert zurück des Objektes |
abstract String |
parseToString()
Gibt ein String zurrück, der diesen Datensatz beschreibt |
abstract void |
read(DataInputStream in)
Lesen eines Datensatzes vom gegebenen DataInputStream |
abstract void |
write(DataOutputStream out)
Schreiben eines Datensatzes in den gegebenen DataOutputStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte BYTE_TYPE
public static final byte SHORT_TYPE
public static final byte INTEGER_TYPE
public static final byte LONG_TYPE
public static final byte FLOAT_TYPE
public static final byte DOUBLE_TYPE
public static final byte STRING_TYPE
public static final byte BIT_ARRAY_TYPE
public static final byte BYTE_ARRAY_TYPE
public static final byte SHORT_ARRAY_TYPE
public static final byte INTEGER_ARRAY_TYPE
public static final byte LONG_ARRAY_TYPE
public static final byte FLOAT_ARRAY_TYPE
public static final byte DOUBLE_ARRAY_TYPE
public static final byte STRING_ARRAY_TYPE
public static final byte ATTRIBUTE_LIST_TYPE
public static final byte ATTRIBUTE_LIST_ARRAY_TYPE
public static final byte ARRAY_OFFSET
protected byte _type
| Constructor Detail |
|---|
public DataValue()
| Method Detail |
|---|
public final byte getType()
public static DataValue getObject(byte _type)
_type - _type des Objektes
public abstract void read(DataInputStream in)
throws IOException
in - Eingabe-Stream
IOException, - wenn beim Lesen vom Eingabe-Stream Fehler aufgetreten sind.
IOException
public abstract void write(DataOutputStream out)
throws IOException
out - Ausgabe-Stream
IOException, - wenn beim Schreiben vom Ausgabe-Stream Fehler aufgetreten sind.
IOExceptionpublic abstract DataValue cloneObject()
public abstract String parseToString()
public abstract Object getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||